<html>
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
<!--
function setDefaults(){
	window.resizeTo(450,430);
}
function refreshParent() {
	//window.opener.location.reload();
	window.close();
}

//-->
</script>
<link rel="stylesheet" href="css/elgu.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" background="images/background/bg_middle.jpg" onLoad="javascript: setDefaults();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- BEGIN Table -->
<form name="editPerson" method="post" action="PersonEncode.php{Session}">
  <input type="hidden" name="parentURL">
  <script language="Javascript">
	document.editPerson.parentURL.value = window.opener.location;
  </script>

  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr> 
      <td colspan="3">&nbsp;</td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td> 
        <table width="400" border="0" cellspacing="1" cellpadding="3" align="center">
          <tr> 
            <td class="fileds_comment" colspan="3" bgcolor="#F6F6F6" nowrap><b>OWNER 
              INFORMATION - Person</b></td>
          </tr>
          <!-- BEGIN personID -->
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>PersonID</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b>{personID}</b></td>
          </tr>
          <!-- END personID -->
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>LastName</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {lastName} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>FirstName</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {firstName} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>MiddleName</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {middleName} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>Gender</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {gender}</b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>Birthday</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" colspan="2" align="left"><b> 
              {birthday} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" width="100" bgcolor="#F6F6F6" nowrap>Marital 
              Status</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {maritalStatus} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" bgcolor="#F6F6F6" nowrap>TIN</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {tin} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" rowspan="3" bgcolor="#F6F6F6" nowrap align="right">Address 
              <input type="hidden" name="addressID" value="{addressID}">
            </td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" width="150"> 
              <b>{number}</b><br>
              (Number) </td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" width="150"> 
              <b>{street}</b><br>
              (Street) </td>
          </tr>
          <tr> 
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left"> <b>{barangay}</b><br>
              (Barangay) </td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left"> <b>{district}</b><br>
              (District) </td>
          </tr>
          <tr> 
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left"> <b>{municipalityCity}</b><br>
              (Municipality/City) </td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left"> <b>{province}</b><br>
              (Province) </td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" bgcolor="#F6F6F6" nowrap>Telephone</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {telephone} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" bgcolor="#F6F6F6" nowrap>Cell 
              Number</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {mobileNumber} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" align="right" bgcolor="#F6F6F6" nowrap>Email</td>
            <td class="fileds_comment" bgcolor="#F6F6F6" align="left" colspan="2"><b> 
              {email} </b></td>
          </tr>
          <tr> 
            <td class="fileds_comment" bgcolor="#F6F6F6" nowrap><b> </b></td>
            <td class="fileds_comment" bgcolor="#F6F6F6" colspan="2"> 
              <input type="hidden" name="formAction" value="edit">
              <input type="hidden" name="personID" value="{personID}">
              <input type="hidden" name="odID" value="{odID}">

              <!-- BEGIN ViewOnly -->
              <input type="button" name="Submit" value="Edit" onClick="document.editPerson.submit();">
              <!-- END ViewOnly -->
              <input type="button" name="Button" value="Close"  onClick="refreshParent();">
            </td>
          </tr>
        </table>
      </td>
      <td>&nbsp;</td>
    </tr>
    <tr> 
      <td colspan="3">&nbsp;</td>
    </tr>
  </table>
  </form>
<!-- END Table -->

</body>
</html>
